@charset "utf-8";

body {
    background-size: cover;
    background-color: #f6f6f6;
    margin: 0 !important;
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Helvetica Neue, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
}

/* webkit*/
::-webkit-input-placeholder {
    color: #999
}

/*moz*/
::-moz-placeholder {
    color: #999
}

a {
    cursor: pointer;
    outline: none;
    color: #333;
    text-decoration: none;
}

a:hover {
    color: #0078de!important;
}

ol, ul, li {
    padding: 0;
    list-style: none;
}

.clear {
    clear: both;
}

i, em {
    font-style: normal;
}

.fr {
    float: right;
}

.fl {
    float: left;
}

.red {
    color: #e02d2d;
}

.mr0 {
    margin: 0 !important;
}

.mb10 {
    margin-bottom: 10px !important;
}

.pr20 {
    padding-right: 30px;
}

.hidden {
    display: none;
}

.clearfix {
    clear: both !important;
}

.flex {
    display: -webkit-flex;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
}

.container {
    width: 1200px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

h1,h2,h3,h4,h5,h6 {
    padding: 0!important;
}

.bread-crumb {
    font-size: 14px;
    overflow: hidden;
}


.bread-crumb a {
   font-size: 14px;
}

#header,#content,#footer {
    overflow: hidden;
}

.head {
    background: #fff;
    border-bottom: 1px solid #ececec;
    padding: 15px 0;
    -webkit-box-shadow: 0 0 10px #ececec;
    -moz-box-shadow: 0 0 10px #ececec;
    box-shadow: 0 0 10px #ececec;
}

.head .nav {
    position: absolute;
    top: 12px;
    left: 220px;
}

.nav a {
    display: inline-block;
    margin-right: 30px;
    color: #000;
    font-size: 16px
}

.nav a:hover {
    color: #0078de
}

.nav .cur {
    border-bottom: 3px solid #0078de;
    padding-bottom: 10px
}

.head .pub {
    position: absolute;
    top: 0;
    right: 0;
    color: #8591a6;
    line-height: 24px
}

.head .pub a {
    position: absolute;
    left: -140px;
    top: 0;
    border: 1px solid #0078de;
    color: #0078de;
    display: block;
    padding: 10px 25px;
    font-size: 16px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

.head .pub a:hover {
    background: #0078de;
    color: #fff
}

.head .container .logo img {
    height: 55px;
}

.main {
    padding: 20px;
    overflow: hidden;
}

.left-panel {
    width: 860px;
    float: left
}

.right-panel {
    width: 320px;
    float: right
}

.main .box {
    margin-bottom: 10px;
}

.main .box .article-list {
    overflow: hidden;
    margin: 0!important;
}

.main .box .article-list li.item {
    background: #fff;
    padding: 25px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.main .box .article-list li.item .l-box {
    float: left;
    margin-right: 10px;
}

.main .box .article-list li.item .l-box img {
    width: 165px;
    height: 150px;
    border-radius: 5px;
}

.main .box .article-list li.item .r-box {
    width: 620px;
    float: right;
}

.main .box .article-list li.item .title {
    font-size: 18px
}

.main .box .article-list li.item .title a {
    color: #333;
}

.main .box .article-list li.item .category {
    color: #8591a6;
    margin: 10px 0
}

.main .box .article-list li.item .category u {
    display: inline-block;
    margin: 0 10px
}

.main .box .article-list li.item .user dt {
    float: left;
    width: 40px;
    height: 40px;
    overflow: hidden;
    -moz-border-radius: 100px;
    -webkit-border-radius: 100px;
    border-radius: 100px;
}

.main .box .article-list li.item .user dt img {
    width: 100%
}

.main .box .article-list li.item .user dd {
    margin-left: 50px;
    position: relative
}

.main .box .article-list li.item .user dd .time {
    color: #9da7b8
}

.main .box .article-list li.item .user .name a {
    color: #333;
}

.main .box .article-list li.item .description {
    line-height: 25px;
    font-size: 16px;
    color: #666;
}

.main .box .article-list li.item .description a {
    color: #328de5;
}

.main .box .article-list li.item .description a:hover {
    color: #f60;
}

.main .box .article-list li.item .description h2 {
    font-size: 16px;
    font-style: normal;
    font-weight: normal;
    white-space: pre-line;
    line-height: 24px;
}

.main .box .article-list li.item .co-hidden {
    padding: 20px 0;
    display: none;
    white-space: pre-line;
    line-height: 30px;
    font-size: 16px;
    color: #666;
}

.main .box .article-list li.item .to-link {
    text-align: right;
    position: relative
}

.main .box .article-list li.item .to-link span {
    width: 30px;
    height: 30px;
    display: inline-block;
    overflow: hidden;
    margin-left: -15px;
    border: 2px solid #fff;
    vertical-align: middle;
    -moz-border-radius: 100px;
    -webkit-border-radius: 100px;
    border-radius: 100px;
}

.main .box .article-list li.item .to-link span img {
    width: 100%
}

.main .box .article-list li.item .to-link a {
    color: #9da7b8
}

.main .loading {
    padding: 15px 0;
    text-align: center
}

.main .loading img {
    vertical-align: middle
}

.main .right-panel .notice-box {
    background: #fff;
    padding: 20px;
    text-align: center
}

.main .right-panel .notice-box .title {
    font-size: 20px
}

.main .right-panel .notice-box .desc {
    color: #9da7b8;
    margin: 10px auto 20px;
    font-size: 16px
}

.main .right-panel .notice-box .button a {
    display: block;
    background: #0078de;
    color: #fff;
    text-align: center;
    padding: 12px;
    font-size: 16px;
    margin: 0 20px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}


.main .right-panel .notice-box .button2 a {
    background: #01bb3a
}

.main .right-panel .notice-box .button a:hover {
    color: #fff!important;
    background: #015ca9
}

.main .right-panel .notice-box .button2 a:hover {
    background: #01902d
}

.main .right-panel .notice-box .tj {
    color: #9da7b8;
    margin: 20px auto auto
}

.main .card {
    padding: 10px 15px;
    margin-bottom: 10px;
    background-color: #fff;
}

.main .card-title {
    font-size: 18px!important;
    padding: 5px 0;
    font-weight: bold;
    border-bottom: 1px solid #eee;
}

.main .card-body {
    overflow: hidden;
}

.main .card-body a {
    color: #333;
    display: inline-block;
    white-space: normal;
    font-size: 14px;
}

.main .rate-list {
    padding: 15px 0!important;
}

.main .card-body a.rate {
    width: 49%;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 10px;
}

.main .xGList {
    overflow: hidden;
}

.main .xGList a.click {
    color: #f6f6f6;
    width: 49%;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
}

.main .xGList a.click:hover {
    color: #f6f6f6!important;
}


.main .detail-box {
    padding: 15px;
    background-color: #fff;
    overflow: hidden;
}

.main .detail-box h1.title {
    font-size: 22px;
    text-align: center;
}

.main .detail-box .source {
    text-align: center;
    font-size: 14px;
    color: rgb(184, 184, 184);
}

.main .detail-box .content {
    text-indent: 2em;
    padding: 15px 15px 0;
    font-size: 16px;
    line-height: 30px;
}

.main .detail-box .content img {
    display: block;
    margin: 0 auto;
    border-radius: 5px;
    max-width: 98%;
    text-align: center;
}

.main .detail-box .explain {
    padding: 0 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #DBE1E8;
}

.main .detail-box .explain p {
    line-height: 26px;
    font-size: 14px;
    color: #9EA7B3;
}

.main .tiku-box {
    padding: 15px;
    margin-bottom: 10px;
    background-color: #fff;
}


.main .tiku-box-head  {
    height: auto;
    background: #e3e2e2;
    border-radius: 5px 5px 0 0;
    border-bottom: 1px solid #efefef;
    padding: 20px 30px 20px 30px;
}

.main .tiku-box-head  h1, .main .tiku-box-head  h2 {
    font-size: 2.0em;
    margin: 0 0 .3em 0;
}

.main .tiku-box-head  .eye {
    margin-left: 25px;
}

.main .tiku-box-head  .eye i {
    margin-right: 10px;
}

.main .tiku-box-head  .tags {
    margin-left: 20px;
}

.main .tiku-box-head  .tags .r-tag {
    margin-left: 5px;
}

.main .tiku-box-head  .intro{
    color: #ccc;
    margin-top: 10px;
}

.main .tiku-box-head  .intro span {
    margin-right: 10px;
    color: #999;
    font-size: 14px;
}

.main .tiku-box-head  .intro span.type {
    color: #999;
    background-color: #f6f6f6;
    float: left;
    font-size: 14px;
    padding: 1px 8px;
    cursor: pointer;
    overflow: hidden;
}

.main .tiku-box .tiku-box-body {
    text-indent: 2em;
}
.main .tiku-box .tiku-box-body pre {
    position: relative;
    margin-bottom: 10px;
}

.main .tiku-box .tiku-box-body .example pre {
    margin-bottom: 0px;
}

.main .tiku-box .tiku-box-body i#copy-code {
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
    font-size: 16px;
}

.main .tiku-box .tiku-box-body #runcode {
    text-align: right;
}

.main .tiku-box .tiku-box-body #runcode button {
    color: #fff;
    background: #96b97d;
}

.main .tiku-box .tiku-box-body h1 {
    margin: 0 0 10px 0;
    font-size: 1.8em;
    line-height: 1.8em;
    text-indent: initial;
    text-decoration: none;
    color: #000;
}

.main .tiku-box .tiku-box-body h1 span {
    color: #64854c;
}

.main .tiku-box .tiku-box-body h2 {
    font-size: 1.5em;
    line-height: 1.5em;
    font-weight: bold;
    margin: 3px 0px;
}

.main .tiku-box .tiku-box-body h3 {
    font-size: 1.4em;
    font-weight: 700;
    margin: 8px 0;
}

.main .tiku-box .tiku-box-body h2.example {
    font-size: 14px;
    color: #617f10;
    padding-left: 2px;
}

.main .tiku-box .tiku-box-body strong {
    font-weight: bold;
    margin: 0px 5px;
}

.main .tiku-box .tiku-box-body p {
    line-height: 30px;
}

.main #commentList {
    padding: 20px;
    font-size: 14px;
    line-height: 2em;
}

.main #commentList h1,.main #commentList h2,.main #commentList h3 {
    margin-bottom: 10px;
}

.main #commentList li {
    overflow: hidden;
    margin-bottom: 10px;;
    border-bottom: #eee 1px solid;
}

.main #commentList li .avatar {
    width: 50px;
}

.main #commentList li .avatar, .main #commentList li .comment-items {
    display: inline-block;
}

.main #commentList li .time {
    margin-top: 15px;
    color: #666;
    font-size: 12px;
}

.main #commentList li .avatar img {
    width: 38px;
    border-radius: 10%;
}

.main #commentList li .comment-items {
    width: 100%;
    max-width: 685px;
    padding-bottom: 15px;
    margin-left: 15px;
}

.main #commentList li .comment-items pre {
    margin: 0 0 10px;
}

.main #commentList li .comment-items p {
    font-size: 14px;
    line-height: 1em;
}

.main #commentList li .comment-items a {
    font-weight: bold;
    margin: 0 5px;
}

.main #commentList .comment-items p code {
    padding:2px 8px;
    margin: 0 2px;
}

/* Layui 风格的表格样式 */
table {
    width: 100%;
    margin: 10px 0;
    background-color: #fff;
    color: #666;
    font-size: 14px;
    border-collapse: collapse;
}

table thead tr {
    background-color: #f2f2f2;
    color: #333;
    height: 38px;
    line-height: 38px;
}

table thead th {
    text-align: left;
    font-weight: bold;
    white-space: nowrap;
    border: 1px solid #e6e6e6;
    padding: 0 15px;
}

table tbody tr {
    height: 44px;
    line-height: 44px;
}

table tbody td {
    text-align: left;
    border: 1px solid #e6e6e6;
    padding: 0 15px;
    position: relative;
}

table tbody tr:nth-child(odd) {
    background-color: #f8f8f8;
}

table tbody tr:hover {
    background-color: #f2f2f2;
}

/* 带边框的表格样式 */
table-border {
    border: 1px solid #e6e6e6;
}

table-border thead th {
    border-right: 1px solid #e6e6e6;
}

table-border tbody td {
    border-right: 1px solid #e6e6e6;
}

table-border tbody tr:last-child td {
    border-bottom: 1px solid #e6e6e6;
}

table tbody tr td:first-child {
    border-left: 1px solid #e6e6e6;
}

table tbody tr td:last-child {
    border-right: 1px solid #e6e6e6;
}



#footer {
    text-align: center;
    padding-top: 30px;
    padding-bottom: 30px;
    background: #FFF;
    line-height: 24px;
    width: 100%;
}

#footer .about {
    margin: 5px auto auto;
    line-height: 22px;
}

#footer .about p,#footer div {
    margin: 5px 0;
    color: #000;
}

#footer .about a {
    color: #000;
}

#footer img {
    vertical-align: middle;
    width: 20px;
    height: 20px;
}